package com.cqw.commontest.springlifecycle;

import org.springframework.beans.factory.DisposableBean;
import org.springframework.stereotype.Component;

/**
 * @Author: caoqingwen
 * @CreateTime: 2021-11-01 17:26
 * @Description:
 */
@Component
public class LifeCycle3 implements DisposableBean {


    @Override
    public void destroy() throws Exception {
        System.out.println("============销毁了");

    }
}
